<template>
  <div>
    <!-- {{ time | formatT }} -->
    <HmCalendar v-model="time" />
  </div>
</template>

<script>
import HmCalendar from './components/hm-calendar.vue'
import dayjs from 'dayjs'
export default {
  components: {
    HmCalendar
  },
  filters: {
    formatT(str) {
      return dayjs(str).format('YYYY_MM_DD')
    }
  },
  data() {
    return {
      time: new Date('2021-11-11')
    }
  }
}
</script>

<style></style>
